<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxCommon/QxHashValue.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_qx_hash_value_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">QxHashValue.h File Reference<div class="ingroups"><a class="el" href="group___qx_common.html">QxCommon : QxOrm library common tools and macros</a></div></div>  </div>
</div>
<div class="contents">

<p>Specialize hash_value function for some Qt and boost types (used for example by qx::QxCollection&lt;Key, Value&gt; container)  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;QtCore/qstring.h&gt;</code><br/>
<code>#include &lt;QtCore/qdatetime.h&gt;</code><br/>
<code>#include &lt;QtCore/qvariant.h&gt;</code><br/>
<code>#include &lt;QtCore/qpair.h&gt;</code><br/>
<code>#include &lt;boost/tuple/tuple.hpp&gt;</code><br/>
<code>#include &lt;boost/tuple/tuple_comparison.hpp&gt;</code><br/>
<code>#include &lt;boost/tuple/tuple_io.hpp&gt;</code><br/>
</div>
<p><a href="_qx_hash_value_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html">boost::tuples</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_hash_value_8h.html#a5194d9aee6f64d739e242c1d47169fd2">hash_value</a> (const QString &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_hash_value_8h.html#a3fdafa8f09b523ee66d721758d341071">hash_value</a> (const QDate &amp;d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_hash_value_8h.html#a7b96864293b399e39af8b950c5bf5624">hash_value</a> (const QTime &amp;t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_hash_value_8h.html#ad1d726ac4142fd0a3e697322dccfe8d3">hash_value</a> (const QDateTime &amp;dt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_hash_value_8h.html#a481fd64d81f406920d6d57f362634b20">hash_value</a> (const QVariant &amp;v)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_qx_hash_value_8h.html#a98e701432b7d44bd6aba01da1c308284">hash_value</a> (const QPair&lt; T0, T1 &gt; &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#aaf99db21c6021cbd5aea714db968f88f">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , class T1 , typename T2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#ae976899fef9e874dbcc65c188844fc25">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#a54818fdefcf08977c006e9e64d390005">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 , typename T4 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#ac3af40e9c60b7d9b3fc4aa473ea2d2ed">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3, T4 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#ad6e7d672ce007f4ec247031d7e1fc4d4">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3, T4, T5 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#ac69c1ef6851f196de2be88fbfb2dcb24">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3, T4, T5, T6 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#a313aaa6e33cc772e52c8c7f3c389c135">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3, T4, T5, T6, T7 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#a1dcb8469a2ed98d1d96724032e8004ff">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3, T4, T5, T6, T7, T8 &gt; &amp;tu)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1tuples.html#a6ba73bfe12983c21162f76e5995207e4">boost::tuples::hash_value</a> (const boost::tuple&lt; T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 &gt; &amp;tu)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Specialize hash_value function for some Qt and boost types (used for example by qx::QxCollection&lt;Key, Value&gt; container) </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Lionel Marty </dd></dl>

<p>Definition in file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a5194d9aee6f64d739e242c1d47169fd2"></a><!-- doxytag: member="QxHashValue.h::hash_value" ref="a5194d9aee6f64d739e242c1d47169fd2" args="(const QString &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t hash_value </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_hash_value_8h_source.html#l00061">61</a> of file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3fdafa8f09b523ee66d721758d341071"></a><!-- doxytag: member="QxHashValue.h::hash_value" ref="a3fdafa8f09b523ee66d721758d341071" args="(const QDate &amp;d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t hash_value </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&#160;</td>
          <td class="paramname"><em>d</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_hash_value_8h_source.html#l00062">62</a> of file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b96864293b399e39af8b950c5bf5624"></a><!-- doxytag: member="QxHashValue.h::hash_value" ref="a7b96864293b399e39af8b950c5bf5624" args="(const QTime &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t hash_value </td>
          <td>(</td>
          <td class="paramtype">const QTime &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_hash_value_8h_source.html#l00063">63</a> of file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad1d726ac4142fd0a3e697322dccfe8d3"></a><!-- doxytag: member="QxHashValue.h::hash_value" ref="ad1d726ac4142fd0a3e697322dccfe8d3" args="(const QDateTime &amp;dt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t hash_value </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&#160;</td>
          <td class="paramname"><em>dt</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_hash_value_8h_source.html#l00064">64</a> of file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a481fd64d81f406920d6d57f362634b20"></a><!-- doxytag: member="QxHashValue.h::hash_value" ref="a481fd64d81f406920d6d57f362634b20" args="(const QVariant &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t hash_value </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_hash_value_8h_source.html#l00065">65</a> of file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a98e701432b7d44bd6aba01da1c308284"></a><!-- doxytag: member="QxHashValue.h::hash_value" ref="a98e701432b7d44bd6aba01da1c308284" args="(const QPair&lt; T0, T1 &gt; &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T0 , typename T1 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::size_t hash_value </td>
          <td>(</td>
          <td class="paramtype">const QPair&lt; T0, T1 &gt; &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_hash_value_8h_source.html#l00068">68</a> of file <a class="el" href="_qx_hash_value_8h_source.html">QxHashValue.h</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_qx_hash_value_8h.html">QxHashValue.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:07 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
